import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './ulils'
import Vuex from 'vuex'
Vue.use(Vuex)

import createPersistedState from "vuex-persistedstate";
const store = new Vuex.Store({
      state:{},
      actions: {
        
      },
      mutations: {
        
      },
      getters: {
        
      },
  plugins: [createPersistedState()],
});

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


Vue.use(ElementUI)
// const eventBus= new Vue()

// Vue.prototype.eventBus=eventBus


Vue.config.productionTip = false

new Vue({
  store,
  render: h => h(App),
  router
}).$mount('#app')
